package javax.servlet.http;

import java.util.EventListener;

	/** 
	* Implementations of this interface are notified of changes to the 
	* list of active sessions in a web application.
	* To receive notification events, the implementation class
	* must be configured in the deployment descriptor for the web application.
	* @see HttpSessionEvent
	 * @since	v 2.3
	*/

public interface HttpSessionListener extends EventListener {
    
	/** 
	* session创建时发布一个通知
	* @param se 通知事件
	*/
    public void sessionCreated ( HttpSessionEvent se );
    
	/** 
	* session失效时发布一个通知
	* @param se 通知事件
	*/
    public void sessionDestroyed ( HttpSessionEvent se );
    
}

